<!--
 *@开发者: 刘翔
 *@创建时间: 2025-06-17 11:52:21
 *@描述:扣款情况
!-->
<template>
  <div class="page-tile-26">
    <div class="page-tile-26-center">
      <formList class="formList-1" topHeightValue="8%" bottomHeightValue="92%" :formParameter="formParameter1" :data_list="data_list.slice(0, data_list.length / 2)" />
      <formList class="formList-2" topHeightValue="8%" bottomHeightValue="92%" :formParameter="formParameter2" :data_list="data_list.slice(data_list.length / 2)" />
    </div>
  </div>
</template>

<script>
import formList from '../components/formList/formList';

export default {
  // 组件名称
  name: 'pageTile26',
  // 组件参数 接收来自父组件的数据
  props: {},
  // 局部注册的组件
  components: {
    formList,
  },
  // 组件状态值
  data() {
    return {
      card1: {},
      data_list: [],
      formParameter1: [
        { width: '50%', title: '科室' },
        { width: '25%', title: '病例数' },
        { width: '25%', title: '合计扣款金额' },
      ],
      formParameter2: [
        { width: '50%', title: '科室' },
        { width: '25%', title: '病例数' },
        { width: '25%', title: '合计扣款金额' },
      ],
    };
  },
  // 计算属性
  computed: {},
  // 侦听器
  watch: {},
  // 组件方法
  methods: {
    init(data) {
      this.data_list = data.data_list;
    },
  },
  created() {},
  mounted() {},
};
</script>

<style lang="less" scoped>
.page-tile-26 {
  height: 100%;
  .page-tile-26-center {
    display: flex;
    margin-bottom: 30px;
    height: 100%;
    .formList-1 {
      margin: 0 10px;
    }
    .formList-2 {
      margin: 0 10px;
    }
  }
}
</style>
